package com.solution.constant;

/**
 * This interface contains all the exception messages common to all modules.
 * @author piyush.mittal
 *
 */
public interface ErrorMessages {

	/**
	 * Error message while obtaining DAOImpl instance from DAOFactory.
	 */
	public static final String DAO_IMPL_INSTANCE_CREATION_EXCEPTION = "Error in instantiating DAO implememtation class.";
	/**
	 * Error message while loading the system.properties file.
	 */
	public static final String ERR_INITIALIZING_SYSTEM = "Could not configure System Repository. Calls to read System properties will fail. System not properly initialized.";

	/**
	 * Error message while loading the quartz.properties file.
	 */
	public static final String ERR_INITIALIZING_QUARTZ = "Could not configure Quartz Repository. Calls to read Quartz properties will fail. Quartz not properly initialized.";
	/**
	 * image type fetch exception.
	 */
	public static final String  IMAGE_TYPE_READ_EXCEPTION = "Error while fetching image type from database.";
	
	/**
	 * SystemVariable creation failures.
	 */
	public static final String SYSTEMVARIABLE_CREATE_EXCEPTION = "Error while creating SystemVariable in database.";
	/**
	 * SystemVariable update failures.
	 */
	public static final String SYSTEMVARIABLE_UPDATE_EXCEPTION = "Error while updating SystemVariable in database.";
	/**
	 * SystemVariable read failures.
	 */
	public static final String SYSTEMVARIABLE_READ_EXCEPTION = "Error while fetching SystemVariable from database.";
	/**
	 * Mandatory Parameter missing.
	 */
	public static final String MANDATORY_PARAMETER_MISSING_EXCEPTION = "Mandatory parameter missing";
}

